home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
OS2
/
AV.ARJ
/
AV.DOC
< prev
next >
Wrap
Text File
|
1992-07-11
|
8KB
|
184 lines
AV (Archive Viewer)
Copyright (c) 1992 by M. Kimes
All rights reserved
AV is a simple archive viewing PM utility for OS/2. It uses a plain
text configuration file (ARCHIVER.BB2) to get information about how
different archives look and how their corresponding archivers work. This
file is included in the AV archive and is easy to modify to add other
archivers using a text editor. As supplied, LH/2, PKZIP, ZOO, ARJ
(UNARJ) and ARC are configured for you. AV requires the OS/2 archivers
to be present (on your PATH, preferably) to work.
To use AV, copy ARCHIVER.BB2 and AV.EXE somewhere on your PATH (type SET
at a CMD.EXE command prompt if you don't know what your PATH is). After
that, typing AV at a command line prompt (or reasonable OS/2 facsimile)
will bring up AV. You can optionally follow that with a path or
filename. Examples:
Start AV in current directory:
AV
Start AV on drive D: in directory \ARCS:
AV D:\ARCS\
Start AV on drive E: in directory \ADIR looking at ANARC.ARC:
AV E:\ARCS\ANARC.ARC
AV operates by presenting you with a few different dialogue boxes in
which you can pick things to look at or do. The dialogue boxes pop up
under your mouse cursor. Trust me, everything's pretty obvious. But
here's a breakdown because you don't trust me (sniff):
Open file dialogue box:
======================
Filename: You can enter the name of a file directly here. You
can also enter a drive or directory to switch into
directly.
Archives Only: As for the configuration dialogue box option (see
below).
Filemask box: You can change the filemask here, as in the
configuration dialogue box (see below).
Drives: Listbox containing valid drives. Pick one.
Directories: Listbox containing accessible directories. Pick
one.
Files: Listbox containing files. Pick one.
Okay: Loads currently selected file. Beeps if there's no
currently selected file.
Config: Invokes configuration dialogue box.
Help: Brief help screen for open file dialogue box.
Exit: Outtahere, sayonara, adios. Back to your previously
interrupted whatever.
Del: Delete highlighted file.
Archive contents dialogue box:
=============================
View: Views the highlighted file. If more than one file is
highlighted, views the last one.
Edit: Edits the highlighted file as for View. You can select
the Refr(esh) button after saving the editted file to
put the new copy back into the archive.
Extr: Extract highlighted files to the extraction directory.
Exec: Execute the highlighted file after extracting it into the
working directory. Warning: many files require
configuration files, data files, etc. to run properly.
Del: Delete highlighted files.
Cvt: Convert entire archive to another type.
Cfg: Calls up the configuration dialogue box.
+All: Highlight all files in list box.
-All: Unhighlight all files in list box.
Quit: Return to open file dialogue.
Select archiver dialogue box:
============================
You'll only see this if you select the Cvt button in the above dialogue
box. It's just a listbox containing archivers you have defined in
ARCHIVER.BB2. Pick the one you want to use to rebuild the archive
on conversion. Highlight it, then punch the Okay button to do the
conversion. Select Cancel if you change your mind.
Configuration dialogue box:
==========================
Viewing/editting software settings:
Viewer: A text editor or "browser." Many of these are available
from BBSes as shareware or freeware. A couple that come
to mind are LIST and PMVIEW.
Editor: A text editor, like E.EXE included with OS/2 or the
shareware QEdit.
Icons: An icon viewer, like ICONEDIT.EXE from the OS/2 toolkit.
INFs: An .INF file viewer, like VIEW.EXE that came with OS/2.
Metas: A metafile (picture) viewer, like PICSHOW.EXE.
Bits: A bitmap (picture) viewer, like ICONEDIT.EXE.
GIFs: A GIF picture viewer, like PMGIF.EXE.
Packets: A Fidonet(tm) type 2 packet viewer, like PKTHDR.EXE. If
you aren't involved in Fidonet, ignore this one.
You can set everything (or some things) to the same piece of
software if desired for simplicity. Hint: if you want to run
through a .CMD file, use CMD.EXE /c <whatever>.CMD.
Other configuration fields:
Show archives only: Only names with extensions that "look" like
archives will be listed (i.e. .ARC, .LZH,
.ZIP, .PAK, .SDN, etc.) in the open file
dialogue box.
Confirm delete: Any time you hit a Delete button, AV will
check with you to see if you meant it.
Confirm view: If you select a "primary" file that doesn't
smell like an archive, AV will ask if you
want to view it using the Viewer you have
configured.
Confirm convert: If you select the Cvt (Convert) button,
AV will ask if you are sure about it.
Use foreground: AV can do some things "invisibly" if you
don't check this (like extraction, conversion).
Filemask: Only files matching this wildcarded spec
will be considered for listing in the open
file dialogue box.
Extract Dir: The directory where AV will place extracted
files. The default is the directory from
which you started AV.
Save as defaults: Saves configuration defaults. Otherwise they're
only good for the current session.
Okay: Back to wherever you were before you called up
the configuration dialogue box. New settings
are used, and saved if Save as defaults is
checked.
Help: Brief help window for configuration dialogue
box.
Cancel: Back to wherever you were before you called up
the configuration dialogue box. New settings
are not used or saved.
Known bugs and features:
=======================
AV doesn't handle filenames with spaces in them. There's a limit of 400
files/archive. Other bugs and limits are as the 16-bit OS/2 API imposes
them.
Warranty:
========
None.
Support:
=======
Registered users may send and receive Fidonet netmail, Snail mail or
call the BBS with questions and answers (although AV is so simple help
should seldom be needed). Unregistered users will get help if and as I
get the time.
Shareware:
=========
If you like and use AV, send the author $15.00 to the address below. If
you'd like the source code (MSC 6.0a), send another $15.00. The
"registered" version doesn't have the opening popup, has working Move
and Copy, and will probably have further enhancements by the time you
register (I may not be the best programmer around, but I'm balls fast).
M. Kimes
542 Merrick
Shreveport, LA 71104
(318)222-3455 data
1:380/16.0@Fidonet